package com.peng.PengConfig;

import com.peng.pojo.User;
import org.springframework.context.annotation.*;

@Configuration
@ComponentScan("com.peng.pojo")
public class PengConfig {
    @Bean
    @Scope("prototype")
    public User getUser(){
        return new User();
    }

}
